import { emitter } from "./event-bus"
console.log("Mounting event global");
emitter.on('share-number', (val: unknown) => {
  if (typeof val === 'number') {
    alert('[Event-Global] --> 事件已触发，值为：' + val)
  }
})